import request from '@/utils/request'

//列表
export function fetchList(query) {
  return request({
    url: '/user/list',
    method: 'post',
    data: query
  })
}

//用户车牌列表
export function userCarList(data) {
  return request({
    url: `/user/userCar/list/${data.id}`,
    method: 'post',
    data
  })
}

//用户路侧停车记录列表
export function userOutdoorCarcomeList(data) {
  return request({
    url: `/user/userOutdoorCarcome/list/${data.id}`,
    method: 'post',
    data
  })
}